<?php
namespace app\api;

use core\Controller;
use core\Request;
use core\Response;


class User extends Controller {
    public array $middlewares = [\app\middleware\User::class];


    public function login(Request $request, Response $response): void {
        $response->text('from /user/login');
    }

    public function logout(Request $request, Response $response): void {
        $response->text('from /user/logout');
    }
}
